package com.tz.actions;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.Result;

/**
 */
@Namespace("/")
@Result(location = "/index.jsp")
public class IndexAction implements com.opensymphony.xwork2.Action {

    @Override
    @Action("index")
    public String execute() throws Exception {
        //从Model查询数据...
        return SUCCESS;
    }
}
